home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-05-30 | 2.0 KB | 75 lines | [TEXT/CWIE] |
- // ===========================================================================
- // SCAPIStatic.h ©1997 Spunk Cross All rights reserved.
- // ===========================================================================
-
- #ifndef SCAPISTATIC_H
- #define SCAPISTATIC_H
-
- #include "SCAPICommonIncludes.h"
- #include "SCAPIWindow.h"
-
-
- // ---------------------------------------------------------------------------
- // • Defines
- // ---------------------------------------------------------------------------
-
- #define SCAPIStatic_default_originx 0
- #define SCAPIStatic_default_originy 0
- #define SCAPIStatic_default_width 50
- #define SCAPIStatic_default_height 25
-
-
- // ---------------------------------------------------------------------------
- // • SCAPIStatic Class
- // ---------------------------------------------------------------------------
-
- class SCAPIStatic : public LCaption
- {
-
- // ===========================================================
- // === Spunk Cross API, these are the routines you can use ===
- // ===========================================================
-
- // • Constructor - Destructor
- // --------------------------
-
- public:
-
- SCAPIStatic( char* inText,
- SCAPIWindow* inWindowP,
- int inOriginx = SCAPIStatic_default_originx,
- int inOriginy = SCAPIStatic_default_originy,
- int inWidth = SCAPIStatic_default_width,
- int inHeight = SCAPIStatic_default_height );
-
- ~SCAPIStatic();
-
-
- // =================================
- // === Internal part, do not use ===
- // =================================
-
- // • Member functions
- // ------------------
-
- private:
-
- SPaneInfo MakeSPaneInfo( SCAPIWindow* inWindowP,
- int inOriginx,
- int inOriginy,
- int inWidth,
- int inHeight );
-
- unsigned char* MakePascalString( char* inTitle );
-
-
- // • Member variables
- // ------------------
-
- private:
-
- SPaneInfo mSPaneInfo;
- unsigned char mStr255[256];
- };
-
- #endif